﻿@model VNWIKI_WEB.User
@{
    
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section title {
Chia sẻ hình ảnh đẹp - vnwiki.com
}
@section categoryList{
    <li><a href="@Url.RouteUrl("MyProfile")">Thông tin cá nhân</a></li>
    <li><a href="@Url.RouteUrl("MyAlbums")">Quản lý album</a></li>
}
@section content {
    <div class="slider">
        <div class="border">
            <div class="info">
                <h2>
                    <strong>Thông tin của <span style="color: #02a0cd">@Session["userName"]</span></strong></h2>
            </div>
            <div class="views">
            </div>
        </div>
    </div>
    <div class="album-list">
        <script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
        <script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
        @using (Html.BeginForm())
        {
            @Html.ValidationSummary(true)
            <fieldset>
                <legend>@Session["userName"]</legend>
                @Html.HiddenFor(model => model.ID)
                <div class="editor-label">
                    Tên tài khoản:
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.AccountName)
                    @Html.ValidationMessageFor(model => model.AccountName)
                </div>
                <div class="editor-label">
                   Tên:
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Name)
                    @Html.ValidationMessageFor(model => model.Name)
                </div>
                <div class="editor-label">
                    @Html.LabelFor(model => model.Email)
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Email)
                    @Html.ValidationMessageFor(model => model.Email)
                </div>
                <div class="editor-label">
                    @Html.LabelFor(model => model.Password)
                </div>
                <div class="editor-field">
                    @Html.PasswordFor(model => model.Password )
                    @Html.ValidationMessageFor(model => model.Password)
                </div>
                
                <p>
                    <input type="submit" value="Save" />
                </p>
            </fieldset>
        }
        <div>
            @Html.RouteLink("Back", "MyProfile")
        </div>
    </div>
}
